package com.danciyixue.boot.dcyx.model.entity;

import com.danciyixue.boot.common.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 单元测试记录实体对象
 *
 * @author youlaitech
 * @since 2025-06-15 16:33
 */
@Getter
@Setter
@TableName("dcyx_unit_test_records")
public class UnitTestRecords extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 单元ID
     */
    private Long unitId;
    /**
     * 单元名称
     */
    private String name;
    /**
     * 闯关分数
     */
    private Integer score;
    /**
     * 闯关时间,单位秒
     */
    private Integer timeSpent;
    /**
     * 是否完成,0未完成1完成
     */
    private Integer isEnd;
}
